package com.wjc.train.common.enums;

/**
 * @author Guessed
 * 业务类型枚举
 */
public enum RedisKeyPreEnum {
    CONFIRM_ORDER("LOCK_CONFIRM_ORDER","确认订单锁"),
    SK_TOKEN("LOCK_SK_TOKEN","令牌锁"),
    SK_TOKEN_COUNT("SK_TOKEN_COUNT","令牌数");

    private String code;
    private String desc;

     RedisKeyPreEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

     RedisKeyPreEnum() {
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getType() {
        return desc;
    }

    public void setDesc(String type) {
        this.desc = desc;
    }
}
